package com.logi.lpromis.perm.oracle;

import com.logi.lpromis.perm.inter.IIndexItemInfo;

public class IndexItemInfo implements IIndexItemInfo
{
	/**
	 * 表名 TABLE_NAME
	 */
	private String tableName = null;

	/**
	 * 索引名 INDEX_NAME
	 */
	private String indexName = null;

	/**
	 * 列名 COLUMN_NAME
	 */
	private String columnName = null;

	/**
	 * 顺序位 POSITION
	 */
	private int position = 0;

	/**
	 * 升降序 DESCEND "ASC" 升序 "DESC" 降序
	 */
	private String descend = null;

	/**
	 * 类型 TYPE 'P'=主键 'U'=唯一索引 'N'=普通索引
	 */
	private char type = '\0';

	public String getTableName()
	{
		return tableName;
	}

	public void setTableName(String tableName)
	{
		this.tableName = tableName;
	}

	public String getIndexName()
	{
		return indexName;
	}

	public void setIndexName(String indexName)
	{
		this.indexName = indexName;
	}

	public String getColumnName()
	{
		return columnName;
	}

	public void setColumnName(String columnName)
	{
		this.columnName = columnName;
	}

	public int getPosition()
	{
		return position;
	}

	public void setPosition(int position)
	{
		this.position = position;
	}

	public String getDescend()
	{
		return descend;
	}

	public void setDescend(String descend)
	{
		this.descend = descend;
	}

	public char getType()
	{
		return type;
	}

	public void setType(char type)
	{
		this.type = type;
	}

}
